package com.mzj.saas.mservice.records.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * 信息备案责任书设置表
 */
@Entity
@Table(name = "saas_house_put_liability")
public class HousePutLiability {
    @Id
    @Basic
    @Column(name = "liability_number", nullable = true)
    private String liabilityNumber; //责任书序号

    @Basic
    @Column(name = "name", nullable = true)
    private String name; //名称

    @Lob
    @Column(name = "content", columnDefinition="TEXT")
    private String content; //内容

    @Basic
    @Column(name = "community_id", nullable = true)
    private Long communityId; //社区Id

    @Basic
    @Column(name = "create_time", nullable = true)
    private Date createTime; //导入时间

    @Basic
    @Column(name = "enable_status", nullable = true)
    private Integer enableStatus; //启用状态：0停用 1启用

    @Basic
    @Column(name = "status", nullable = true)
    private Integer status; //数据状态:1正常 2已删除

    @Basic
    @Column(name = "operator_id", nullable = true)
    private String operatorId; //操作人

    public String getLiabilityNumber() {
        return liabilityNumber;
    }

    public void setLiabilityNumber(String liabilityNumber) {
        this.liabilityNumber = liabilityNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
}
